Handling the null from redis in search app.