[BUGFIX] Fixing issue #185 - Allowing rewrite conflicts command to

Check inheritance using instanceof so it can detect inheritance beyond just a single level