Fixed issue where alerts werent repopulated properly