do/undo fork method for valid move filtering by check moves