[BACKLOG-133] Tree rest call file filtering does not work properly