SERVER-15535 Move where we check for secondaries being ahead of the primary