mod/reader fix Unknown column 'version' in 'where clause' when upgrading in Moodle 2.6