Fixed a few straggling psr if statements