Fixed adding new criterion in controller