Preventing null values from being indexed.