Added foreign key enforcement to server_stats for service_type