fix case property validation

was previously only validating the last "/"-separated part
(unintentionally)

caught very confusingly here: http://manage.dimagi.com/default.asp?73892