fixed a possible exception when 'statuses' was empty
1 file changed