fix bug with national data that was introduced in warehouse optimization