Corrupt command checking