Add missing check for missing criteria in python