Make getPartials() work on the last slide of a presentation