Fixed bug in changelog generation