Trying to figure out why jenkins is confused

It seems to think that a record has the deleted flag set, when it
shouldn't (and my local test execution doesn't).