Mongoid master has re-introduced bug #2678

This fixed it.