Testing this version and getting some strange errors. I've attached a screenshot.   I can't even find a single search result that returns this error message with "before", only with "after".   Nonetheless, I don't see any error and this code works fine in 3.3.8.1.