Fix the MFL JDO detached bug.