Fix bug in deleting custom post names with hypen
Bump up version to 4.2.2 for release