Fixes crash when creating an Url object with Query String containing only the key part