Story 45985159: Amended document model (server side) to null out pop sample references when the associated document is deleted