Added filter method to get pageblocks by given type