fix possible infinite loop
Merge pull request #480 from dajohnso/tweak_vm_fleece

fix possible infinite loop