Fix for error on form caching. Massive speedup on large forms.
Merge pull request #27 from dimagi/form_cache_error

Fix for error on form caching.