Problematic social media posts have come back to haunt numerous candidates