Prevent error message when no uniqid is available in URL (#1106)