Automatically remove deleted tags/branches from database.