Changed input connection matching
- match input connection names to the end of a parameter name, since these input connection names can have a "queries_[0-9]+\|" prefix.