fix possible ArrayIndexOutOfBoundsException introduced with r316


git-svn-id: http://svn.mkgmap.org.uk/splitter/trunk@317 838fabe5-b1a8-4b81-9896-7a84386980e9