Fix possible bash logical operator error