I upgraded to M5 but the problem seems to remain.
About jira I'm not sure on how to reproduce the problem since I have other projects with similar structure work just fine and I don't understand what is triggering it.
I'm also quite sure that the same project worked fine a few days ago and I didn't changed anything important in the configuration. I'll try to revert old source to be sure.
Thanks for the help.
Andrea