squashed bug that blew everything up when deleting selected message if last in array