All I can tell you, is this code works. So, I’m assuming that it’s not reaching this point.
Can you try putting a print here: