I think this bug was related to the previous one you reported about the sql upgrade file name. The code was "duplicated" in the sql upgrade script and in the tcl upgrade script. It is fixed now. Please re-check out the code of the latest release (imsld-1-2-0-final) and it should work ok.