Don't bulk create bounding boxes. The ID is not populated and the related column is assigned null when used.