account for multiple resource expressions in spec for #786