[ticket/13229] Fix overloading memberlist with redundant SQL queries

PHPBB3-13229