Fix legality testing with mandatory capture