another workaround for register/select wonkiness. patch by jbellis; tested by Mark Robson for CASSANDRA-156