Fix optimization for loading home location codes