Metadata date comparison functionality added