Fixed exceptions for Spam Engine