Bugfix when selector looks like a declaration