Fixed merge method for properties of type long or double.

Change-Id: I036be049a9b8b22e23bc8f9790d056e4ecb3993f