[Bug 31770] Database FindFirst fails to find the correct record