It seems, it is not possible to modify a "User-Defined Collection".
The query text but it is greyed out.
How to change the query text?
It is not possible to change the query text.
Once a collection is created, a topology object with the query fields is created.
Please delete the current collection and create a new one.