Fixed bug #5421: Problem ignoring extension constraints