ECMS-4504 Fix problem with wrong check in ThumbnailRestService and some others place which need to used isNodeType instead of get primaryNodeType name