Wrong snapshot image

Ok so this is a strange one that I hope i can get some help with

I have two instances of optoprint running on the same pi with two different webcams. Everything appears to work. when i go to timelapse on one instance and press test snapshot url I get the camera i expect to see when i go to the other instance i get the camera i expect to see. Everything works accept.

When it saves the snap shot to make the video both the instances use the same camera. It makes no sense to me as the snapshot url show its correct so it clearly isn't using this url to take the snapshot.

Is there a separate config file for timelapse that isn't directly affected by the webcam and timelapse setting in the gui?

I realise two instances on one server is not a supported setup but i'm curious to why the setting is being ignored for the actual capturing of the image.

Thank you

Damian