Created by: Durman
Two problems here. When the mode of a node is changed it changes socket property type to float. Changing type of the socket property does not update node properly.