Fix bug with early return
Merge pull request #1 from cymen/cv/bugfix-early-return

Fix bug with early return