Minor bug prevented new visit form from loading