Improve PerRowSecondaryIndex performance

patch by Sergio Bossa; reviewed by Aleksey Yeschenko for CASSANDRA-6876