A note on quasiconvex functions that are pseudoconvex