Fixed failure in BLDAPTS^SDMAPI1 after removing assumed variables