Added handling of undefined values to Index class in file backend.