FIX: Fixed bug with deleting empty massages.