Foolproof fix for the compound tag crashes