Duplicate instance check a startup not always working with certain name patterns (Closes #49)