[DBTablesAction] Modified the problem that is not executed action.

The value of host_id consideration in the case of INVALID_HOST_ID.
Merge pull request #648 from project-hatohol/Donot_run_action_Issue642_3

Modified the problem that is not executed action(Issue 642).