fixed a bug with quoting in a bash comparison