FLUID-5277: Corrected missing container diagnostic logic to recognise the new viewComponent hierarchy