BugFix: fixed little regression in currency_value function