Fix empty query parameters encode (should be ?uploads not ?uploads=)