Fixed bug with removing moodle-source