Fix limits in comparer