This could be an issue, in which case you might want to report it on http://tracker.moodle.org.
Please provide your replication steps, versions of Moodle, query used for YouTube, etc...
Thank you!
PS: I am not experiencing this issue on a fresh install of Moodle 2.3.1+