Fix bug checking plot types for correlation functions