Fix error when doing reverse queries with static columns

patch by graham sanderson; reviewed by slebresne for CASSANDRA-7490