Test for existence of indexes before adding

In case the indexes have been added to the jobs table manually
already, test for their existence prior to adding.