Removed echo and minor comparison fix.