Fixed error case in jtabel selection