list_cards() was calling Python .replace() on a SQLAlchemy column object instead of SQL func.replace(), causing AttributeError when searching cards by card number. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>