With a customized banner you can open up an enchantment table and "Lctrl+Left Click" to add the banner to the table. Doing so will strip back any patterns it had and give you the original banner in return instead.
I made a quick 30 second video clip of the issue here.
Thank you for your report!
However, this issue is a Duplicate of MC-17431.
If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki