Fixed bug where you can't save any form without an active visit