Adds check to select to ensure it will only run if the :selection param is present