Fixed issue with 'id' option breaking search

9b81d27 seems to have broken the `id` option.