Check for valid groups when paging.