Fix error in the pagination of memberships
extends dummy-layout instead layout