Fix DoubleRender error when trying to sort a list of dialogs

As a bugfix for https://bugzilla.redhat.com/show_bug.cgi?id=1096388