Results now get displayed correctly