Fixed Core-392: Make Statement check fail if trigger filters a property ...

Propostal to fix issue Core-392. 
Modified also the related unit tests.