Fixed some unquoted LHS in if [ ... ]