Added detection of original release

This allows us to group releases better