Fixed error when IV indexes are not "2" and "3".