Hi Juhana,
I think this has been answered already in this post, in which case its a pretty clunky workaround, but a solution no less!
Far better solution is to use the Advanced Upload assignment type which does allow you to delete attempts easily.
Hope this helps,
Mark.
Assignment
Deletion of student assigment submission
This discussion has been locked so you can no longer reply to it.