Bug 89590 - fix db query for getting LatestRevID