Fix crash on disabled sensor block