Hi Michael,
Thanks for this!
Ive raised a bug report, and the fix will be put into core for an upcoming release.
cheers,
George.