Fixed the adding predictions bug.