added handling IntegrityError during creating or saving instance, caused by remote_id field