The potential problems part is now working. Now to get the select previous steps part functional.