Bug/dublicate

Implementing fix for https://github.com/mesosphere/marathon/issues/324
Yes, good catch!