Fixing issue where invalid chain values were causing an error to be thrown immediately, rather than waiting for a handler to be attached.