Fix an issue where the routing will fail to resolve when a query string is not present. Modifying to match the same behaviour as that in the iOS version of the mobiledeeplinking library.

Repro: mdldemo://handler/1