Refactoring milestones controller: use one loop instead of two loops.
Refactoring milestones controller: use one loop instead of two loops.

webstream-io/jobsworth,rafaspinola/jobsworth,xuewenfei/jobsworth,rafaspinola/jobsworth,ari/jobsworth,webstream-io/jobsworth,digitalnatives/jobsworth,xuewenfei/jobsworth,ari/jobsworth,rafaspinola/jobsworth,webstream-io/jobsworth,webstream-io/jobsworth,ari/jobsworth,xuewenfei/jobsworth,digitalnatives/jobsworth,ari/jobsworth,xuewenfei/jobsworth,digitalnatives/jobsworth,rafaspinola/jobsworth,digitalnatives/jobsworth,digitalnatives/jobsworth