A more robust solution for for plugin config sequence items

A reiteration of 744a0fc32a40a260830709655c6717d7539feba8.