Fixed foreach on single element