Add and populate start_relevancy and end_relevancy fields for shapes