I have stumbled upon this problem and has successfully solved it. I am opening an issue and posting my code here, so it's not lost and forgotten.
If anyone could create a pull request with it (and compiling of all of the generated js files) it would be great.
Here is the change:
On this line:
The if should be changed to:
if (transition && $previous.length)
This is will allow the next() function to be executed if now previous element is found.