Protect against null values for the control replacements