Fixed bug in pdo storage.