JAL-1775 fix regression from commit 70f9c4700f20a8fa57ed7eb974277d8bad0723c2