A store can set the channel filter to not sync books that are out of stock (aka inventory of 0). This produced a bug: a book is synced to the channel because it has an inventory count > 0, but then it sells and goes to inventory = 0. That inventory change wasn't changed on the channel because of bad logic.