Update get_attachment_table prototype to reflect latest mapistore API changes