added the published state to query and removed the size handling from code
Merge branch 'master' of https://github.com/TransformCore/BIS-Business-Diagnostic-Tool