Fixed boolean check in ankh.