Cleanup usage of inline-relations-depth param and corrected the fix for /apps [#51269517]