Improve robustness. Swapped Mongo constants to avoid painful update.