Fix error where the incorrect data was shown.