fixed delivery attempts for groups when sending sms notifications

now delivery is stored as Group and no as Contact which was failing on the report