index: constructor optimizations
index: fix query-strings in the `url` parameter

Before they were being url-encoded (the ? mark), which is incorrect