Fixes test bug related to multiple plans