My guess: The Python/SQLAlchemy layer is stripping off the query parameters before they reach SQLite.