Added checking property type before assigning value. If different then i...

Added checking property type before assigning value. If different then ignoring.