Fix DispatcherLoop error with client prefix keys

DispatcherLoop works properly if a client have configured a
prefix for the keys or not