fix Boolean type for Mongoid 4