fix #9226 - console spammed with "java.lang.NumberFormatException" warnings with "lane and road attributes" style

git-svn-id: http://josm.openstreetmap.de/svn/trunk@6322 0c6e7542-c601-0410-84e7-c038aed88b3b
fix #9171 - NullPointerException when hitting enter when Search Presets is empty

git-svn-id: http://josm.openstreetmap.de/svn/trunk@6323 0c6e7542-c601-0410-84e7-c038aed88b3b