Convert Classification visible query into a union all
Fix BindParam substitution on MRI
Merge pull request #153 from edpaget/union-all

Convert Classification visible query into a union all