Fixed bug in sitemap editor if only a single widget listed

Closes #33