Forum link: https://forums.couchbase.com/t/couchbase-python-function-build-deferred-indexes-not-working-correctly/29151