Fixing has_many for validations