Fixed Assertion bug for VOIs