Chelsea avoided a potential upset at Stamford Bridge