Complete deleting attendance records function