Made select_relevant_columns more verbose.