Added explanation about relationship types in the help
Minor change in if statement condition
Added missing check for relationship type in view