Fix bug where flash notices weren't showing up