How to move a file after the file extension has changed

I have a folder into which .mkv files are placed. I have a Hazel rule that looks for the appearance of the .mkv files in that folder and runs an AppleScript that converts them to .m4v files using Handbrake. That all works fine. What I want after the conversion is for the rule to move those files to another folder. That is the part that fails.
From my investigation, I am getting messages in the log saying that the "file does not exist" and therefore the move fails. I believe the cause of this is that the only "if" condition I have is "is the file an .mkv". If so, then run the AppleScript and then the move.
I think that because the AppleScript is changing the file from an .mkv to a .m4v, then the 'move' is still looking for a .mkv and thus fails.
So, how would I change my rule to recognize the .mp4 and move it. Or, do I have to create a second rule for the folder that looks for .m4v?
Regards,
John
From my investigation, I am getting messages in the log saying that the "file does not exist" and therefore the move fails. I believe the cause of this is that the only "if" condition I have is "is the file an .mkv". If so, then run the AppleScript and then the move.
I think that because the AppleScript is changing the file from an .mkv to a .m4v, then the 'move' is still looking for a .mkv and thus fails.
So, how would I change my rule to recognize the .mp4 and move it. Or, do I have to create a second rule for the folder that looks for .m4v?
Regards,
John