Petr, if you have other ideas how to fix this, I am open to suggestions, but as I mention in commit message, I don't think these particular assertions add much value, and I would not want to have a conditional check in this instance. -j