Moved placement of mongoid version check

In the old location a Rails app couldn't find the definition of the version check :)