PT-43223487 - added a flag to signal if mongo generation-config synchronization is to take place.
Improve speed dial mongo query.