Reset the needsEmptyKey flag after every request so it doesn't break subsequent calls.