Fixed logic error and made cards show properly (kinda)\