When logging in last settled ticket appears

@Jesse, for some reason my switch user rule has stopped working properly. if i add an order, then press switch user and log out, when i log back in the ticket with any orders opens as it should. however if i then press my abort button when i log out and back in the aborted transaction shows on the screen, this shouldnt happen and i cant find a constraint that stops this, any ideas?

when logging in this is the screen that appears, the ticket should be blank, i have to then press close to be able to start a new sale