Fixed issue with null congregation id.