Minor Bug Fix In Redirect