Temporary Mac fix for PurpleDatabase