Fixes NullPointerException at

JoinScoreCollector.getForeignScore(JoinScoreCollector.java:144)