Delete conversations from database if all participants have deleted them

This also fixes #185.