How to tell when an onion is bad