Fixed issues with one sub pool per stack

Make sure that we use the derived pool data when the sub pool is
created and updated.