Added 2 validations to Prediction model