Use of ->andWhere() whithout any ->where() before is valid

->andWhere() can be used directly, without any ->where() before: we can just _always_ use only ->andWhere(). This is why ->hasWhere() is useless, cf. #1043.