Fixed signed division check as in BB#6482