expex "everylabel=\actualexno" вызывает ошибку в последующих ссылках

expex "everylabel=\actualexno" вызывает ошибку в последующих ссылках

У меня проблемы с номерами примеров. Когда я ссылаюсь на пример (по его метке) до того, как он действительно встречается, номер правильный. Но ссылка на него после того, как он был определен, дает неправильный номер.

Это происходит только тогда, когда я использую everylabel=\actualexnoвнутри \definestyleкоманды, а пример разделен на подпримеры.

    \documentclass[10pt, a4paper]{article}
    \usepackage{expex}
    \definelingstyle{IJAL}{everylabel=\actualexno}  % HERE IS THE PROBLEM
    \lingset{lingstyle=IJAL}                        % (and here)

    \begin{document}
    \gathertags
    Referencing ahead of the definition gives 
      correct number of the whole example (\getref{a}), 
      as well as its part (\getref{a.A}), 
      although the full reference gives us too much (\getfullref{a.A}).

    \pex<a>
      \a<A> some example
    \xe


    The reference to the whole example is still correct afterwards (\getref{a}), 
      but the reference to its part has a one too large prefix (\getref{a.A}) 
      and the full reference is just a concatenation of both, as usual (\getfullref{a.A}).

    \end{document}

введите описание изображения здесь

Связанный контент