Escape period correctly when searching for selectors.