fix upgrade bug that was causing tickets to spontaneously resolve, #23309