Here's an excellent video on how to miter borders: https://www.youtube.com/watch?v=wMWQABZwis8

She knows all the tips for making your border lie flat without gaps or bumps.