HM: Tested IndexOutOfBoundsException in KeyFilter