Fix error message for class/instance selector.