Fixed some issues with card color parsing