Fixes #381 dbpdoEngine::num_rows() doesn't work as expected