Fix memory indexing

Remove duplicate top x query entry