Support for multiple headnode selection