Queries on compact tables can return more results than requested

patch by slebresne; reviewed by thobbs for CASSANDRA-7052