Thanks to Milan Crha <mcrha@redhat.com> for this fix. https://bugzilla.gnome.org/show_bug.cgi?id=743961