[SJS-217][BUG]: Fix for TypeError thrown while setting native property value