Fix null pointer deref in isTornadicActivity