Mimicked overview logic from eco
Merge pull request #15 from os2kitos/335-contract-hide-show-inactive

Mimicked overview logic from eco