Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
I don't know anything about Lightroom. But you can use IM to strip all borders using -trim and then add whatever borders you want back in using -border or -extent or -splice. See http://www.imagemagick.org/Usage/crop/#border