Improving Alerts page UI.
refactoring code. Using searchable filter rather than simple select
optimising queries - removing unnecessary checks/comparisons