Not the best square for the queen, but maybe Nepomniachtchi was counting on a draw by move repetition.
20... d8a8  21. a2b1  21... b6b5 Preparing Nb6-a4. Black already has a considerable positional advantage. 22. h2h3  22... a8d8 