SERVER-9542 Change comparison operator to correct type

Do not use "<" to execute a "<=" comparison.