hotfix visit_number restore bug
Merge pull request #4 from dimagi/cz

hotfix visit_number restore bug