Added mana cost filtering