Fixed config merging with normal arrays and added array where to DB