Fix issue with plans not getting added