Issue #2324731 by Turek, wundo: Prevents PDO error