Fixed issue where algorithms were being highlighted in the browser when removed