fixed an exception with bad data on comment delete