Directing filtration to optimize enzyme immobilization in reactive membranes