Try replacing the first AND with &&.