[*] Fixes hook issue with external ids