more tests
[gitmo/MooseX-Storage.git] / lib / MooseX / Storage / Engine.pm
index 4fd3108..cae2407 100644 (file)
@@ -150,7 +150,7 @@ my %TYPES = (
             # otherwise it will affect the 
             # other real version.
             +{ map {
-                blessed($_)
+                blessed($hash->{$_})
                     ? ($_ => $OBJECT_HANDLERS{collapse}->($hash->{$_}))
                     : ($_ => $hash->{$_})
             } keys %$hash }