Solved a sometimes occurring issue with printing tickets when moving the contents of a table to another table.