Added some default logic when source values are not present.