Added gsub to remove backticks in columns_for_distinct method