Fix for the cardinality estimation in presence of arguments