[#68382174] fixed edge case resulting in infinite redirect loop

Signed-off-by: Seth Musulin <sethmusulin@gmail.com>