Warn on duplicate record contents

Fixes #36