[#207]Make the categories tree works correctly for multiple stores