Fixed issue with template parts not showing the right parts

If the "{$slug}-{$name}.php" doesn't exist what-the-file shows it as a template part, this is now fixed.