Fix bug that prevented using :meth:`reset_mock ` on mock instances with deleted attributes