This SQL should have been updated a long time ago

(cherry picked from commit 0700694fba7dc21b476b0fa3cb9106f798f112c2)
left/right_index should be populated
deprecate() should be imported (Thank you Harpreet !)
Bugifx: only the paralogues should be reported
Some of the methods are only within-species
fetch_node_by_node_id does not accept undef
Merge branch 'release/74' into release/75

* release/74:
  Bugifx: only the paralogues should be reported
  This SQL should have been updated a long time ago
Merge branch 'release/75'

* release/75:
  fetch_node_by_node_id does not accept undef
  Some of the methods are only within-species
  Bugifx: only the paralogues should be reported
  deprecate() should be imported (Thank you Harpreet !)
  left/right_index should be populated
  This SQL should have been updated a long time ago