Fixed problem with css selectors in genere strings