Invalid symbol bug

Was not properly checking if a sting was null. Had if(string == null)
rather than .equals.