Fix for https://github.com/Breeze/breeze.js/issues/23