get membership request notification to render without error

This prevents the membership_request notification causing an error but there is currently another issue on Production that is preventing the notification count clearing on drop-down click.