corrected previous fix for https://github.com/MartijnR/enketo/issues/260 and https://github.com/MartijnR/enketo/issues/259