fixes #1871

made static strings into translation ones using _(...)
changed .map to .find_all in security_groups, in case there are any nil values