Fixed saving multiple IDs for one class