Apparently a call to reset() is needed. I don't know why as it wasn't like that with the vector selector... But this way it
works at least.