Minor optimisations to filter code
Added debug output - total games in common