Fix incorrect outerjoin in post views processing