[8] Fixed crash when empty model (refreshing)