Fixes #7027: Restrict mongodb to version 2.4 or greater.