Fixed PHP warning when now association listeners have been setup