FIx issue where tickets are created with empty Ids.