SERVER-15424 Fix signed-unsigned integer comparison