handle delimiters inside chained call
#WEB-14066 fixed
(cherry picked from commit 267b65a, r=Konstantin Ulitin)