Changed reply check to null from undefined as per the redis library documentation.