DF#QCADOOMES-1668 Fixed problem with locales.
DF Some fixes in views.