totalHydrated can be an empty array

If totalHydrated was an empty array, the condition was passing since in
javascript:

```
js> !![]
true
```

This checks if totalHydrated has at least one element.

I couldn't figure out how to run the test. If you want me to write a test, let me know.