Tracked down bug resulting in bands from X or Y not existing in the database.