Check if hit has a parent ID in collector

Closes #2744