Add missing check.