Added corpse check to Command targetting.