Now correctly checks for false rather than null
Fixed false/null typo