Kasper Schmeichel was one clean sheet away from equaling a Celtic record and he lost a late goal to Aberdeen to prevent that happening.