Avoid failing on passing nil.