Fix #40: broken reporting on selector syntax error