Fixed detail refresh bug