Fix bug for displaying pending membership requests