Issue #2860844 by ChaseOnTheWeb, Chris2, alex_optim, voleger, pifagor: Minor code improvement to field existence check in redirect_fetch_rids_by_path