Fix crash conditions in IBB