added support for relevant on calculated items, closes #358