Added some compatibility for older virtuemarts