Better selector validation.