Add considered_safe to variable states

add translation for considered risky in order index

Add considered risky flag to orders index

Fixes #5374
Fix spec broken by 3eeb71d and add a regression check for it.