Do not allow SQL placeholders to override ::cast syntax
Fix placeholder literal strings when used with an empty placeholder hash (Fixes #695)

We don't want to fall through and hit the else branch, since then
things break if ? is used in the string.