Fix a fatal error when a module with a courseID that doesn't exist is found
Merge branch 'master' of https://github.com/antriver/moodle-block_search