Once you turn in the parent mission of a bonus mission, you can no longer complete those bonus missions. So, if you want to complete all of the bonus missions, you need to make sure you've finished them before you turn in the parent quest, and if it involves being in the story area, then you need to finish them before you leave the story area since once you leave that area it blocks off your return.