"is" statement doesn't work in sqlalchemy filter