Reduced number of sql queries
Prevented page from displaying toggle button for histories without seats