Fix query selector which caused problems in FF/Safari