Fixed issue with unbinding

Fixed error on function when trying to unbind from object that didn't have any previous bindings (looked like a copy & paste error that missed a line)