Added group amount validation.