Fixed upgrades sometimes being destroyed by the apiary on shift+click