Fix error where plugins were called with no data