If your lemon tart filling did not set, it could be because you didn't cook it long enough or didn't refrigerate it for long enough. Make sure your filling reaches the right temperature and refrigerate it until it sets.