support added for comma seperated pattern names in query string