Fix allow duplicate posts feature with optimizations from 1.14