Sieve scripts don't work in 0.16.3

The thread I’m referring to is here and here with the former describing the implementation issue and the latter describing a possible “use uninitialized” issue.