Update modmatrix.user.js

Fixed issue when reaching the end of the log.