Perform matching validation also on paste