Fixed #23758

- intentional breakage with recursion limit
- extents the alphabet ( to use multi letter ) for get alias prefix

executed from `test_subquery_condition` (queries.tests.Queries1Tests)
You can maybe remove the `i` here:
```python
for _ in xrange(20):
    x = Tag.objects.filter(pk__in=x)
```