Remove dangerous access to record using element/2

It seems to incorrectly store the version when {version, views} was
desired.