Add more accurate check.