Added null check
Merge branch 'development' of https://github.com/aidancbrady/Mekanism into development