FIX: Failed correctly to register ships as already having processed their loading code on occasions, causing, on those occasions, infinite waiting for ships with a waiting time.