dia to sml: fix clang breaks

- missed boost checks around some comparisons