If you overcook the dal and it becomes quite mushy, add the dal to a pan and dry it out on slow heat stirring very gently (to avoid it getting pasty). Once the dal has dried, you can use it to make the filling.