Fix glaringly obvious bug