use array filtering instead doctrine criteria
Merge pull request #879 from ahilles107/4_3_code_optimizations_bundle

use array filtering instead doctrine criteria