mongo casbah upgrade, which caused a need for some code changes.