Add mod and type parameter to get_mod_log.
Add equality to ModAction