Fixed bug in ignore patterns