Removed confusing boolean statement and replaced with a much clearer one :)