Fix problem in cleanup of SitemapComponents when using blocks. Patch by Alexander Klimetschek, fixes COCOON-1948