Fixed query that retrieves resource data.  It works now.  Also changed buildingDisplay to pass in the building id instead of the building name.