django: Fix queries= parsing