Liverpool were made to work hard by the Premier League’s bottom side.