Fix detection if statement. Clean up indentation.

Album redirect now works