Fix the nil object merge exception.