Fixed issue where setting and clearing the sourcetype and/or index value
didn't work correctly