Remove duplicate plan numbers

Fixed in v2.1.3. (Changeset12) Removes duplicate
plan numbers by deteleing invalid applications or
adding a numeric suffix to the plan number.
[#82 state:fixed responsible:none milestone:v2.1.3]