Fix bug where expression containing record accessors can't be parsed