To the point! A good quick fix for the problem. Good that you also explained the root cause. I’m still wondering why the $before and $after are added to the function parameters and not outside of it?