Fix to handle multiple DNS records matched by the filter

In case the filter matches several records (for example if you omit the 'name' attribute, so that to match all the records of type 'A'), the script was failing.
This fix updates the value and TTL of all the records matched by the filter