Fixed query string bug for collection id