Fixed bugs intruduced by changes in upstream Backbone and Backbone-Relational.