Fixed task check for last export date