Period.erb: skipping group headers for f groups if no f groups in current period. Still need to skip blank element cells for same groups.