Minor bug fixes on Redis repositories