Hoping this fixes mongoid issue.