Revert some comparison changes because mysqli_result::fetch_assoc probably return string values.