Use 'if' as opposed to 'if ~= nil'