Fixing bug signaled with this post: https://sourceforge.net/p/flom/discussion/general/thread/cf59b6dc/