updated ModelResource.get_item_for_id() to work more nicely with chained filters.