Restore fix for zero enabled scripts.