[PATCH 27 of 31] Core: protect from subrequest loops