SSP-2145 added defensive code for case of null coach_id, also defense code are single quotes