(fix) Duplicate messages on /sort page due to uninitialized variable