If a field is empty, we'll set it to nil since there is no reason to index an empty field