[#2778] ticket:490 check dublicate milestones
[#2778] Minor cleanup

Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>