Fix, probably, buggy ActionTableModel.

Change-Id: I7f3712e32936e66baac18199f6d702b5b5f66c3b
Reviewed-on: http://gerrit.dmdirc.com/3930
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>