Changed logging from <= to < 0 for m