Psychopg2 has changed and there was an extra .cursor