Fix count query when custom_finder_options includes select option
Fix count query when custom_finder_options includes select option

asoltys/active_scaffold,asoltys/active_scaffold,silverpond/active_scaffold,silverpond/active_scaffold,silverpond/active_scaffold,activescaffold/active_scaffold,mallikarjunayaddala/active_scaffold,ajacksified/active_scaffold,vhochstein/active_scaffold,mallikarjunayaddala/active_scaffold,activescaffold/active_scaffold,AlbertoBarrago/active_scaffold,BookingBug/active_scaffold,mallikarjunayaddala/active_scaffold,activescaffold/active_scaffold,budree/active_scaffold,AlbertoBarrago/active_scaffold,BookingBug/active_scaffold,AlbertoBarrago/active_scaffold,vhochstein/active_scaffold,budree/active_scaffold,BookingBug/active_scaffold,budree/active_scaffold,vhochstein/active_scaffold,ajacksified/active_scaffold