Fix issue with leaving locale group