Fix compatibility with Order Entries

use correct tbl_prefix as this was not an object property hence order_entries was not working.