New remove hidden jobs function