Fixed list of open classes to use sec.capacity for section capacities

Addresses #1470 as far as I saw there was a discrepancy. In particular, it looks like this was a problem any time a class was assigned to a room which had a max capacity less than the teacher's given max capacity for the class. The classchange_grid looks fine to me though.