Fixed memory exhaustion on the notifications page