Normalize null values for easy comparison across mysql versions.