Fix to allow words.
Changes to fix https://github.com/maths/moodle-qtype_stack/issues/86