Pollsters data showed narrowing NDP lead, but failed to predict Liberal victory