handles the case where the lims can't be queried

Sometimes, we can't query the lims. Instead of letting an error being raised, this will handle it. 

This part will be reverted to the old way of getting the fields next week anyway, but this should resolve the errors.