Fix indexing single record on post upload
Oups, debug code