Fixed bug in Join.java