Fixed problem with dropping and re-creating indexes every time.