As you have the alert structured now, this alert will never evaluate true. The Alert Engine is evaluating the alert criteria against each individual transaction playback. Since the playback can't possibly have two different names at the same time, these conditions will never be met.
With the current version of Advanced Alert Manager, you'd need a custom SQL query to do what you are attempting. Unfortunately writing the query is beyond my abilities so I can't help there. Based on what I have seen, the need for custom SQL to do this may change with the upcoming integration of Alert Manager into the web GUI.