Man accused of triple homicide had criminal record