Fixed messages not being deleted from the msgs table after being processed if message history was turned off.