Are you sure this produces the expected SQL? I'd have use `model.background == True` instead of `model.background is True` but this is to be verified.