Fixed comparisons_count migration