Fix crash when quarrying a protected area