fix case property validation

was previously only validating the last "/"-separated part
(unintentionally)
Merge pull request #1144 from dimagi/case-property-validation

fix case property validation