Extra check to PDO for fetch all