School Selection Filters + Looped input

Adding the ability to select school before filter definitions does not
slow down the output noticeably.
Added Looping with school selection implemented.