Fixed all_equal