Fixed a few instances of if(!string).