Fix issues with property type change
Merge pull request #3 from viruschidai/fix-type-compare

Fix issues with property type change