Fix next ocur
Created by: ducks
Fixes #44 (closed).
Removes an extraneous if that seemingly never fires and updates the position of x based on the next occurrence.
This doesn't work multiline but I wanted some feedback on it to see if this was the right direction.