Accused nursing home rapist has criminal history