Fixed several cases where old projects failed to be updated

1st fix : Comparing dates properly formatted do not require .replace and int(). This caused failures whenever a process has no date, making this a None.replace() call.

The new sub does the same thing as the old does, in less steps, and should be fairly failure proof. (Not python 3 proof, though.)

The second case is, I think, a missing field in the lims that PSUL stutters on given the direct [0]call, so I just added a catch/log
I thought about adding comments, but decided against it because I'm lazy. Do you think I should add some ?