Fixed negative modulo issue