assuming dmv=dmt when dmv_start and dmv_end are present
Merge branch 'fix-dmv'