DB indexing problem fixed