Fix EagerCursor::getSingleResult() behavior