fix bug in Model::findFirst which generated incorrect BETWEEN clause in Oracle dialect