Removed sections when there is no boat

fixed also one query and allowed sortRaces to block sections from
displaying.
Fixed the css for the race number