Also replaces a `continue` with what was likely meant to be a `break`, which hopefully will fix #10 and #11.