The problem:
Filtering on an annotation returns no reults in sqlite3 when it should return results.

To repro:
python manage.py test repro.thing

look at repro/thing/tests.py for the code

Ubuntu 12.04.4
django version: 1.6.1
pysqlite version: 2.6.0
libsqlite3-0 version: 3.7.9-2ubuntu1.1                            

