Fix equal to not equal in bash script