Implemented filtering on basis of visible property.