Fix some false negatives for properties with unknown type

Fixes #12.