BZ-1059901: fixed error loading empty form versions