Fix various array_merge bugs, move the cache path into the project path only for debug, and add findByCondition to handle operators