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.

Looks like this additional error has now been fixed in #1024 by @robguthrie