Fix poorly translated checks for empty properties

Signed-off-by: Don Naegely <naegelyd@gmail.com>
Merge pull request #582 from cbmi/model-port-fix

Fix poorly translated checks for empty properties