Fixed non-updated indexes on updated query