This was an oversight that is now corrected. This commit also switches to the more appropriate pattern_name variable instead of reversing ourselves.