CONTENT-1823 Added checks for group parameter and existing group