Fixed previous issue. All flag colors now change correctly.