Fix variable in scope for all dashboard ordertype and orderreverse are now wrapped..