fixed an issue where empty strings were being accepted as deep links