InputService.find() throws exception when record is not found.

This prevents an NPE when find() is called for non-existing input
ids.

Fixes #684