Fix case where amavis spam details was not collected. Thanks to grufo for the report.