Performance improvements in the dashboard and pending pages