Bug/dublicate

Implementing fix for https://github.com/mesosphere/marathon/issues/324
This seems like odd tabulation, should it be indented one more?