Fix fencepost error in import disk image uploads