Fixing #754 by re-ordering parameters to array_merge based on @Sama34's suggestions.