fixed bug where head neighbours were being shared between relevant phrases