NH-3467 - Add support of 2-args variant of LOCATE function