Fix intermittent failure via FK when deleted taxon is primary taxon on p2
Fix intermittent failure via FK when deleted taxon is primary taxon on p2

ltrls/openfoodnetwork,openfoodfoundation/openfoodnetwork,Em-AK/openfoodnetwork,KateDavis/openfoodnetwork,oeoeaio/openfoodnetwork,ltrls/openfoodnetwork,RohanM/openfoodnetwork,levent/openfoodnetwork,KateDavis/openfoodnetwork,oeoeaio/openfoodnetwork,Em-AK/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfoodnetwork,Matt-Yorkley/openfoodnetwork,Em-AK/openfoodnetwork,levent/openfoodnetwork,ltrls/openfoodnetwork,Matt-Yorkley/openfoodnetwork,mkllnk/openfoodnetwork,mkllnk/openfoodnetwork,RohanM/openfoodnetwork,openfoodfoundation/openfoodnetwork,lin-d-hop/openfoodnetwork,Em-AK/openfoodnetwork,KateDavis/openfoodnetwork,KateDavis/openfoodnetwork,lin-d-hop/openfoodnetwork,levent/openfoodnetwork,mkllnk/openfoodnetwork,levent/openfoodnetwork,openfoodfoundation/openfoodnetwork,lin-d-hop/openfoodnetwork,oeoeaio/openfoodnetwork,Matt-Yorkley/openfoodnetwork,oeoeaio/openfoodnetwork,RohanM/openfoodnetwork,RohanM/openfoodnetwork,Matt-Yorkley/openfoodnetwork,ltrls/openfoodnetwork,openfoodfoundation/openfoodnetwork