fix check_attribute parser rule to only set attribute if already set
Merge remote-tracking branch 'posthaven/master' into upstream-pulls