Fixes joelthelion/autojump#333
Merge pull request #334 from erdiaker/issue_333

Fixes joelthelion/autojump#333