Fixed execution cleanup limit logic