Set value to None rather than failing badly