fix bug where tab alert colours weren't being properly prioritized