Solves a problem with playlists not being able to be generated in the latest versions of CMSMadeSimple.
Thanks to Dave B (wookie) for supplying a fix.