Issue #396 - fix logic locale type reset