Fix ^foreach and similar