Fix using && instead of -a for AND comparison, to improve compatibility.