Fixed error stating 'cannot call method on a null-valued expression' when desired group doesn't exist.