Fixed another NullPointerException.