Modified the MySQL query to use the disamspostprocess wrapper