Fixed typo and iterator for backwards traversal