I have no idea how this bug resolved, but now I found a new one, and I can't reproduce it:
When I had a Fact table ending on commented rows (3 commented rows), you added new filters to the wrong place of the script - right after the last comment, so it automatically marked as a comment too. I tried to do it again, but now it is working