Issue #1392016 by silvio: Fixed error sending mails for new votes in polls created by registered users