[TIMOB-13906] Fixed unknown values being passed to function.apply crash