Fixes validation for Prescription model.