Fixes record.get() allowing non-allowed keys

Non-allowed keys from the initial values are being allowed by `record.get()`.