Fix issue #280. Update milestone counter when creating an issue