does a ticket go on your record before court