Checking for a null value before convert/revert.