yeah, im sorry, this game was made for a game jam and for some reason that straight messed up other logic so i had to just drop it as I didnt have time to fix it. Sorry :(
turns out its cuz it counts the ace as a 1 cuz it accepts A-2-3-4-5