Fix problem with sorting missing tiddlers

Fixes #858