Reduce excessive queries on group page