Removed unnecessary part of query
Merge pull request #385 from cloudspokes/tom-change-active-ds-query

Removed unnecessary part of query