SQL statement change needed for database change in commit https://github.com/NAVADMC/SpreadModel/commit/b13c445018c1ba76aee62e1c4e28887799d6b3a2.