Fixed some trigger conditions that had the wrong positions in them.