School safety bill advances