Core/Scripting: Fix error in previous commit.