Added bounds checking to server side code and set lower bound based on configuration value