criteria delete updated to delete the statuses as well