latestVersionState appears on statement, document locked boolean