Fixed the duplicate slots view.
The script would not clear the screen upon recalculation also the list of duplicates would increase with every iteration because the variables weren't properly reset.
Patch by: Merio Ferraro, Lennard de Rijk
Reviewed by: to-be-reviewed
<html>
<head><title>Something went wrong</title></head>
<body>
We ran into a problem while serving your request, please try again.
</body>
</html>