Getting posts query modified