Trunk 2449

fix for [Make Max Number of Encounters on Dashboard made Configurable] under the Form Entry Tab