Change lastcard to integer & add booleans for matches table