Bugfix regarding software agent records

Probably my fault...sorry about that. Tests passed as it was wrong in both directions and thus never surfaced. This bugfix justifies a `1.1.1` release in my opinion.