fixed bug with removing exams

- needed to remove items of that exam form "has_items" table first