Bug fix: order returned by engine must be null that the label is unique.
Added some debug log output.