CORE-5832 Fix for references in /apps/:id/ui