Fixed broken AIP download view.

fixes #4680

Changed the AIP download so it references the ElasticSearch type
instead of the removed MySQL table.