Andrews and Labor emphatic election victory

Victorians emphatically voted Daniel Andrews back in even though there was a six percent swing against Party, so how did the Liberals get it so wrong and did the Libs lose the election 2-years ago when they re-elected Matthew Guy back into power?