[PIR-1022] - Moved data tables access checking if the data tables plugin is loaded