Disregard my thread. I have just realised I had some entity names wrong.