Issue #17 - fix pattern cardsdisplay logic