Updating deprecated  calls
Merge pull request #152 from jwarwick/nil

Updating deprecated `nil?` calls