Remove distinct when using union like operator.
Import basic persistable instances defaultly.