FYI:  I had this problem.  I re-ordered the array contents, ascending by 'min_posts', and everything seems to work okay now.

I haven't tried adding new ranks yet though.