fix for https://github.com/smcmahon/Products.PloneFormGen/issues/82