use != to compare null to non-existing object attribute
Merge pull request #52 from tomekwszelaki/fix/null_comparison

use != to compare null to non-existing object attribute
Merge pull request #53 from tomekwszelaki/develop

use != to compare null to non-existing object attribute