Updating result checking logic.