Fixes on alerts routes and views