TANAL-89 fix regression introduced with commit e0b686a3