Non-security updates sometimes shown when they should be hidden

When "always show security updates" was checked, non-security updates from levels selected as "visible" could be shown under certain circumstances due to incorrect security_type checking.
Merge pull request #82 from qgates/master

Non-security updates sometimes shown when they should be hidden