Another attempt at fixing MFFS infinite loop

Signed-off-by: Ross Allan <rallanpcl@gmail.com>