Fix validation of locationform