Fix crashing when editing beer