Fixed bin deletion bug