Fix empty records