Handle errors on end before parsing ids.

Currently reds throws an uncaught error trying to grab ids[1] since ids can be null when there is an error returned from the redis client.

If the redis client returns an error to the callback, `ids` can be null. 

```
ids = ids[1] // throws an error
```