JMA - Fixed iterator erase problem in subweave