task #246: Shift service, fix NPE when using an unknown search key