Proper PDO check