Fix ahead bug if an branch exist that is higher than master.
Merge pull request #2 from ajanssen/patch-1

Fix ahead bug if an branch exist that is higher than master.