Fixed Redis port assignment bug. (fixes #5)