Reverted exception in ArrayIndexFilter and fixed tests.