Ensure short URLs can only be persisted to localStorage history