fixes SQL for new scope implementation in PDO