Fix problem with community imports

There was a problem where importing from multiple communities into the
same account causing weird behavior. This fixes it.