Fixed some cocked up checks for alien var.