Added the calculation for the first spout type. Ensured active class was removed after deleting the last spout.
Added the calculation for the first spout type. Ensured active class was removed after deleting the last spout.

tashaharrison/lmpag,tashaharrison/lmpag,tashaharrison/lmpag