Updated updateMinMaxInstance function

Updated updateMinMaxInstance to only send an edit request if the min and
max instances are not already configured as desired. This prevents any
unnecessary edits and restarts.