Fixed a bug with fetching the document value with ACE.