Fixed possible performance issue with mf delete.