Removed unnecessary check to apply default param value.