Fix bug in release tracking