Fixed #18 and #22 - Relationship choose max and query (filter)
Fixed so box property don't remove settings array and other arrays that may exist