Fixed concurrency issues with editing and deleting messages