Fixed wrong for loop skipping of when non-own properties