Validation for locations