ed1d686: due to a mistake in the number of ampersands, the row's element ID was determined as a comparison, rather than a bitwise AND. As such, the element IDs of enterprise-specific fields was always '1'.
da469b0: we can use the fact that enterprise IDs (PENs) are non-zero for enterprise-specific fields to get rid of the has_ren variable, which simplifies the code.
This pull request features two fixes:
has_ren
variable, which simplifies the code.