Refresh the group contact cache if necessary

If the group contact cache doesn't contain the necessary data, create it before doing anything else.