You'll need to remove the siding directly above the deck boards and then install the flashing so it comes down and overlaps the ledger board. Then reinstall the siding. Will be harder to do it this way but it'll keep from rotting out your wood. Below is a link that may help you out.
http://www.decks.com/articles.aspx?articleid=28