Fixed problem with setting the 'sent' flag