Attached project shows Resources under included file rather than under the main project. Included file has a variable that hold part of the file name and the main file adds it into RESOURCES variable. I would have expected the location of RESOURCES variable to determine where it would be placed at in the project tree.
This could be worked around by instead of doing:
I would do this instead:
So this makes me suspect that this is a bug.