Switch "is NULL" to "== NULL".

Closes #109.