#POULPE-452
Done refactoring based on code review notices - method for group unique name checking was split into two functions