Fix bug in serialized and fitting results widgets

Both bugs caused by me