fix store_or actions with non-string types

@stdweird: Told you it didn't work before this PR. ;-)