Fixing NullPointerException bug in JournalAuthoritySystem.