Catch instances less than zero error

This change prevents the number of App instances being set to a negative number, as reported in the following Tracker defect

https://www.pivotaltracker.com/s/projects/166935/stories/57399090