I gave an answer to this question that didn't directly answer the OPs question due to missing details (of all the places where the OP was calling some code). However, my comments helped the OP track down and solve the problem so the OP up voted and accepted by answer saying:
David – I'll give you credit for the answer. It was actually the beginTime follow-up that lead to the actual solution I needed. Thank you!
I wanted to respond and ask the OP to post the final solution and accept that instead but I wasn't sure if this was the best way. Then I remembered that I recently asked how to get more involved in meta, so I decided to ask what you think.
Should I ask the OP to un-accept my answer and post the actual solution in a new answer?
This is the response that I had in mind for the OP:
@Axeva I can take the upvote for being "useful" (as the tooltip says) but my answer wasn't the solution. You can post the final solution yourself and accept it. In case someone else has the same or a very similar problem it might help them more than reading through all the comments on this answer.