Fix for issue https://github.com/NAVADMC/SpreadModel/issues/122