[[ Bug 14093 ]] Nil-check to prevent a crash