Dao functions : Fix Logical with sub-arrays