Fixed errors in 'Predictions' widget.