Fixed a mistake with checking irrigation