Use a better check.