primary key not found error when trying to convert quote to SO