corrected plan retrieval for newer bamboo version

tested with 4.4.5