Follow up to 70aa7e0 to fix a potential crash.