Allow select to work with expires set

I'm not sure this has ever worked properly.  If get_object_vars is called on something other than an object it will return either null or false depending on php version, so the cache key looked up would always be the same regardless of actual data