Fix bug causing Rails 4 cache digests never to be appended.
Fix error when attempting to cache empty child collections.