I saw a great hint just yesterday on how to deal with this if you are following a template. Rout up to to the point where you had the problem and then stop. Change from a flush trim bit to a top bearing pattern bit. Then flip the piece with template still attached onto it's other side. When you do the direction of feed is reversed so that you will be routing the other way to finish that spot.