Header indexing on return fixed, collectionaoi.search() added