Fix error when setting value to null.

clearing the CustomURL didnt work, so once you have set a customURL, it is there for good and cannot be cleared. Needed to use strict checking on exists() to solve the problem