- added intervalRelation to select records