Initializing vector if it hasn't yet been added to the map... might
work? Rough hack at best though...