added selector to match attribute substring for folders with query string