@killerfish Do you need `encodeURIComponent(query)` here?