Make sure we don't get an error thrown if a layer can't be found for the name, because throwing the error will skip some stuff that needs to be done for later property selection to not be broken.