MBH: adding pending membership querys