A couple of fixes for Moodle 2.5 compatibility. [Fixes bug where testcases for a saved question weren't displayed when editing the question until "Add more" was clicked"]