Fixed unproper check of weather history lists in functional tests.