Ninja: use equals() for Boolean comparison