Bug fix: Creating a new object instance causes a DoesNotExist exception

This prevents a DoesNotExists exception when creating a new instance rather than editing an existing one