Fixing bug where a too long invoice reference breaks layout