Fix CLDCONNECT-1081 - Batch Insert, Update and Delete throws ClassCastException for Groups