Set value to null when range boxes are empty

This fixes an issue where a value was entered in the textbox then the textbox was removed and the apply button remained enabled. The apply button is now disabled in the case described above.

Signed-off-by: Don Naegely <naegelyd@gmail.com>
Merge pull request #551 from cbmi/issue-533

Set value to null when range boxes are empty