Fix incorrect conditional (close gh-1).