Fix assertion for all glue characters, not just hyphen