An Extended Algebra for Constraints Databases