PDO driver bug fix

In case of the query key without value didn’t affect the valid field
name.