Fixes warning, and wrong modulo in membus' LY-handling