Added a couple of fields to getHoldingsNoItemsSQL to avoid PHP notices.