[TIMOB-13336] Made undefined reference errors on subs recoverable