Hotfix for saving models without ID fields