Only add separator to menu when needed