Leicester boss Brendan Rodgers admitted they were not at their best but was pleased to knock Wigan out of the FA Cup.