Added error handling to catch Record Not Found exception and redirect to the store home page.