patching spec to make it work with impermanent-memberships

This is not a proper solution but a quick one.
Left a comment for the proper solution.