Fix section removal and make sure the next item in queue is executed