MAEC tool_id bug fix

Credits: Jose Nazario <jose@monkey.org>