Checking of commits ahead/behing origin fixed.