fixing another existing bug in ec2_group module