Fixes a bug in the method that matches a record with an addon object, which get the simples pages indexing working.