It appears the query ignores color identity filters. For example:
Card.where(power = 15).where(color_identity = 'G').all()
Returns four cards, only one of which has green (the other three are None). This happens even when the other cards are an actual color and not just colorless. When mixing and matching queries, the color identity is always ignored.