Revert "Remove invalid assumption wrt multiple if0s in the bonuses."

This reverts commit 22eeb60a4da90ef53c49febe9c09024ac9fbe8ba.
Add noif0 filter.