Fixed Redis DB validation.