Fixes an issue with the message queue, also reacts to that fix by
updating the sync GHS algorithm.