Reap old arrays before executing query