Fix cost hiding to take removal of entity into account
Merge pull request #150 from andig/fix-cost-hiding

Fix cost hiding to take removal of entity into account