Removed an unnecessary modulo operation.