fix numeric vs string eq for ids

looks like genome model build abandon-failed never got updated for the
switch from numeric to uuid database ids.