"provided scope must be string" error when using PDO Storage

PDO storage fails when "null" is used instead of empty string to signify "empty scope", when reading from the database the Scope::fromString() constructor will throw "provided scope must be string" exception