Small fix to Backbone object detection logic