fixing uri bug with escapes in ticket search