The main reason the filling wouldn't have set is if you did not cook the filling enough on the stove. The end mixture should be relatively thick - like pudding before it even gets chilled.