Make 'on queue end' run instantly after no script entries detected.