Leicester manager Nigel Pearson warned his side they still "have a long way to go" to secure their Premier League survival after beating Swansea 2-0.