Query recent groups only once per page load

Change-Id: I51898c5d5bf98c6fe040976ef50f4ea58abc40d3