Added null check just to be safe
 * Could have caused this: http://openeye.openmods.info/crashes/2e734aec8036b85de037d661eb7a0c55