Turn an assert into report_fatal_error since it's reachable based on user input