fix invalid url handler

Handles invalid tab selected in URL.
https://bugzilla.redhat.com/show_bug.cgi?id=1096564