Fixed a few bugs with the release group detection