Form seems not to perform conditions