It is possible that the valid range computed from `theta` and the range visible to the current pixel do not overlap. In this case the hair section has no contribution. Pull Request: https://projects.blender.org/blender/blender/pulls/133337