No longer runs build twice when mainFiltered fails.

Found that when the mainFiltered command fails the script will run the main command, effectively trying to build twice.  Quick fix to stop that from happening.