Check polarity of a job_name input matches the name of the job it is input for
This is very similar to #6 (closed). That only concerned comparing the bookkeeping query against the job name but I realise now we should also be checking that if a job takes another job as input then we should make sure that if they specify a polarity that the polarities match. This should be a fairly simple fix that I can get to soon.