Fix for MONGOHQ support in sessions