The -i option was causing an exception; this patch fixes it

I was trying to use -i to de-duplicate messages using Message-ID, and it was causing an exception, because the function was returning one item instead of a tuple of two.