fixed forComponent handling (continue, if forComponent is set, but not the one we are looking for)