Added missing check.