Fix a few issues with fetching document properties with the new server-side index based sync.