fix "TypeError: '>=' not supported between instances of 'NoneType' and 'int'"
fix "TypeError: '>=' not supported between instances of 'NoneType' and 'int'"

dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq