Brendan Rodgers accepts his Liverpool side were lucky to get something out of the game after they let a two-goal lead slip at home to Leicester.