This avoids an ArrayIndexOutOfBoundsException, which can eventually cause the eepproxy to stop functioning.