removed caching of relevant expressions, closes #354