This issue is resolved in Cloud Director version 10.3 or higher.Workaround:
If the issue is occurring in 10.3 execute the following:
sudo -u postgres psql vcloud -c "ANALYZE;"
To manually add the index on vCloud Director versions 10.1 and 10.2