I also found a bug in relation to filtering blackouts by a specific resource.
Had to patch lib/Application/Reservation/BlackoutFilter.php at line 60:
60: $filter->_And(new SqlFilterEquals(new SqlFilterColumn(TableNames::RESOURCES, ColumnNames::RESOURCE_ID), $this->resourceId));
Became:
60: $filter->_And(new SqlFilterEquals(new SqlFilterColumn('r', ColumnNames::RESOURCE_ID), $this->resourceId));
The problem was that it was trying to do resources.resource_id in a join when the table was aliased to 'r'. There may be a more official way to do this using some constant?