Correctly hydrate records with empty attributes